//
//  HookCommand.h
//  Staff
//
//  Created by caiyao on 1/6/15.
//
//

#import <Foundation/Foundation.h>

@interface HookCommand : NSObject

@property (nonatomic, copy) NSString *commandId;
@property (nonatomic, copy) NSString *functionName;
@property (nonatomic, copy) NSString *dataJS;
@property (nonatomic, copy) NSString *callbackJS;
@property (nonatomic, copy) NSString *eventJS;

@property (nonatomic, retain) NSDictionary *functionParamsDic;

+ (HookCommand *)parserHookCommandFromRequest:(NSURLRequest *)request;

@end
